package net.yw365.wxapkg;

/**
 * Created by 席有芳 on 2018/6/6.
 *
 * @author 席有芳
 */
public class WxFile {
    /**
     * 文件名称
     */
    private String name;
    /**
     * 偏移量
     */
    private int offset;
    /**
     * 文件长度
     */
    private int length;
    /**
     * 下一个文件
     */
    private WxFile next;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public WxFile getNext() {
        return next;
    }

    public void setNext(WxFile next) {
        this.next = next;
    }

    @Override
    public String toString() {
        return "WxFile{" +
                "name='" + name + '\'' +
                ", offset=" + offset +
                ", length=" + length +
                '}';
    }
}
